package com.xayy.mgt.model.xinwangmodel;

import lombok.Data;

import java.util.List;

/**
 * @author plq
 */
@Data
public class TopoList {

    private boolean success;
    private String message;
    private int code;
    private Result result;
    private long timestamp;

    @Data
    public static class Result {

        private List<Records> records;
        private int total;
        private int size;
        private int current;
        private List<String> orders;
        private boolean optimizeCountSql;
        private boolean searchCount;
        private String countId;
        private String maxLimit;
        private int pages;


    }
    @Data
    public static class Records {
        private int id;
        private String topologyName;
        private String topologyDescription;
        private String satelliteList;
        private String groundList;
        private String isEdit;
        private String category;
        private boolean isLinkData;
        private boolean isLoading;
        private boolean isRelationLink;
        private List<Satellite> satellite;
        private List<Ground> ground;

    }

    @Data
    public static class Ground {

        private int id;
        private String name;
        private String type;
        private double longitude;
        private double latitude;
        private double height;
        private String para;
        private String number;
        private String para1;
    }
    @Data
    public static class Satellite {

        private int id;
        private String name;
        private String type;
        private String tle1;
        private String tle2;
        private long tranPwMax;
        private long bufferMax;
        private String para;
        private String number;
        private String category;
        private long buffer;
        private long tranPw;
        private String para1;

    }
}